package com.zhiyou.online_mail.model;

import java.math.BigDecimal;

public class OrderModel {
    private Integer id;

    private Integer goodsId;

    private String spec;

    private Integer count;

    private BigDecimal unprice;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec == null ? null : spec.trim();
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getUnprice() {
        return unprice;
    }

    public void setUnprice(BigDecimal unprice) {
        this.unprice = unprice;
    }
}